SUPPORT / SAMPLES & SAS NOTES
 

Support

Problem Note 58106: The SAS® Stored Process Server request initialization and request termination program file paths are overwritten by the SAS® Environment Manager agent

DetailsAboutRate It

You might encounter a problem in which the values in the Initialization program and Termination program fields on the Request tab of the Logical Stored Process Server Properties dialog box are being overwritten. This problem occurs only if the audit, performance, and measurement (APM) extract, transform, load (ETL) process is enabled for SAS Environment Manager. In this scenario, the SAS Environment Manager agent overwrites the existing values and inserts the following values in the metadata for the logical stored process server:

Initialization program: SASEnvironment/SASMacro/apm_request_init.sas

Termination program: SASEnvironment/SASMacro/apm_request_term.sas

When you encounter this problem, the request initialization and request termination programs that you have specified stop running and the apm_request_init.sas and apm-request_term.sas programs run instead. To verify that this problem has occurred, you can search the Stored Process Server log file for a line similar to the following:

Executing SASEnvironment/SASMacro/apm_request_init.sas

You cannot fix this problem by manually modifying the file locations for the logical stored process server's request initialization and request termination programs. This strategy does not work because within several hours, the SAS Environment Manager agent again replaces your values with its own values as described above.

If you need to specify your own request initialization program file location, then you can add a %INCLUDE statement that includes your file location at the top of the apm_request_init.sas file. If you need to specify your own request termination program file location, then you can add a %INCLUDE statement that includes your file location at the top of the apm_request_term.sas file.

Note: Here are the physical paths for the files that are located on the SAS Stored Process Server machine:

SAS-configuration-directory/Lev1/SASApp/SASEnvironment/SASMacro/apm_request_init.sas
SAS-configuration-directory/Lev1/SASApp/SASEnvironment/SASMacro/apm_request_term.sas

Edit the apm_request_init.sas program and add a %INCLUDE statement for your custom request initialization file. Here is an example:

%include 'c:\mysasfiles\my_request_init.sas';

For related information about using relative versus absolute paths for the apm_request_init.sas and apm_request_term.sas files, see SAS Note 61325: "A SAS® Stored Process might fail with "STP_ERR: Requested Stored Process SASEnvironment/SASMacro/apm_request_init.sas does not exist...​​​​​​."



Operating System and Release Information

Product FamilyProductSystemSAS Release
ReportedFixed*
SAS SystemSAS Integration TechnologiesSolaris for x649.4 TS1M29.4 TS1M4
Linux for x649.4 TS1M29.4 TS1M4
Windows 7 Professional 32 bit9.4 TS1M29.4 TS1M4
Microsoft Windows 8.1 Pro x649.4 TS1M29.4 TS1M4
Microsoft Windows 8.1 Pro 32-bit9.4 TS1M29.4 TS1M4
Microsoft Windows 8.1 Enterprise x649.4 TS1M29.4 TS1M4
Microsoft Windows 8.1 Enterprise 32-bit9.4 TS1M29.4 TS1M4
Microsoft Windows 8 Pro x649.4 TS1M29.4 TS1M4
Microsoft Windows 8 Pro 32-bit9.4 TS1M29.4 TS1M4
HP-UX IPF9.4 TS1M29.4 TS1M4
64-bit Enabled Solaris9.4 TS1M29.4 TS1M4
64-bit Enabled AIX9.4 TS1M29.4 TS1M4
Windows 7 Ultimate x649.4 TS1M29.4 TS1M4
Windows 7 Ultimate 32 bit9.4 TS1M29.4 TS1M4
Windows 7 Professional x649.4 TS1M29.4 TS1M4
Windows 7 Home Premium x649.4 TS1M29.4 TS1M4
Windows 7 Home Premium 32 bit9.4 TS1M29.4 TS1M4
Windows 7 Enterprise x649.4 TS1M29.4 TS1M4
Windows 7 Enterprise 32 bit9.4 TS1M29.4 TS1M4
Microsoft Windows Server 2012 Std9.4 TS1M29.4 TS1M4
Microsoft Windows Server 2012 R2 Std9.4 TS1M29.4 TS1M4
Microsoft Windows Server 2012 R2 Datacenter9.4 TS1M29.4 TS1M4
Microsoft Windows Server 2012 Datacenter9.4 TS1M29.4 TS1M4
Microsoft Windows Server 2008 for x649.4 TS1M29.4 TS1M4
Microsoft Windows Server 2008 R29.4 TS1M29.4 TS1M4
Microsoft Windows Server 20089.4 TS1M29.4 TS1M4
Microsoft Windows 109.4 TS1M29.4 TS1M4
Microsoft Windows 8 Enterprise x649.4 TS1M29.4 TS1M4
Microsoft Windows 8 Enterprise 32-bit9.4 TS1M29.4 TS1M4
Microsoft® Windows® for x649.4 TS1M29.4 TS1M4
* For software releases that are not yet generally available, the Fixed Release is the software release in which the problem is planned to be fixed.